
				
<?php  if(!empty($info)){?>

<volist name='info' id='val' key='key'>
	<div>
	 
		<div class="coaching-information">
			<img src="{$val['img']}"/>
			<p>{$val['coach_name']} {$val['phone']}</p>
			<span>场地：{$val['site']}&nbsp;
			科目：<if condition="$val['course'] eq 2">科目三</if>
			<if condition="$val['course'] eq 1">科目二</if>
			&nbsp;车牌号：{$val['car_num']}&nbsp;车型：{$val['type']}&nbsp;
			练习类别：<if condition="$val['category'] eq 1">普通</if>
			<if condition="$val['category'] eq 2">模拟</if></span>
		</div>
		<ul>
		<volist name='record' id='v' key='k'>
			<if condition="$val['id'] eq $v['app_co_id']">
				<if condition ="$v['status'] eq 1">
				
					<li>
					<a href={:U('AppointmentOrder/add',array('date_id'=>$v['id']))}>
						<span>{$v['site']}</span>
						<p>可约</p>
						<span>{$v['price']}元</span>
						</a>
					</li>
					
				</if>
				<if condition ="$v['status'] eq 2">
					<li>
						<span>{$v['site']}</span>
						<p>过期</p>
						<span>{$v['price']}元</span>
					</li>
				</if>
				<if condition ="$v['status'] eq 3 or $v['status'] eq 4">
					<li>
						<span>{$v['site']}</span>
						<p>已约</p>
						<span>{$v['price']}元</span>
					</li>
				</if>
			</if>
		</volist>
		</ul>
		
	</div>
</volist>
<?php }else{ ?>
<div class="coaching-information">

			<p align="center"  >暂未发布排班信息，请选择其他日期</p>
			
</div>

<?php }; ?>